package net.adetech.cjg.outerservice.service;

import org.springframework.stereotype.Service;

import java.util.HashMap;
import java.util.Map;

@Service("cjg.demo")
public class DemoService implements BaseService{
    @Override
    public Map<String, Object> invoke(Map<String, Object> params) {
        int c = (Integer)params.get("c");
        int d = (Integer)params.get("d");
        int e = c+d;
        Map<String,Object> result = new HashMap<>();
        result.put("e",e);
        return result;
    }
}
